package pojo;



import lombok.Data;


import javax.persistence.Column;
import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

@Data
public class paymentM {

    private String id;
    @Column(name = "stu_id")
    private Integer stuId;

    @Max(value = 10,message = "不能大于10学期")
    private Integer term;
    @NotNull(message = "班级不能为空")
    private String clazz;
    @NotNull(message = "名字不能为空")
    private String name;
    @NotNull(message = "交费情况")
    private String payment;
    @NotNull(message = "欠费情况")
    private String arrearage;




}
